

<div class="searchbox">
    <form action="<?php echo base_url(); ?>index.php/customer/search_id" method="get">
       <fieldset>

			<?php if (empty($_REQUEST['login_id'])): ?>
				<input type="text" class="form-control" id="login_id" name="login_id" value="" placeholder="login_id">
			<?php else: ?>
				<input type="text" class="form-control" id="login_id" name="login_id" value="<?=$_REQUEST['login_id']?>" style="background-color:lavenderblush;">
			<?php endif; ?>

         	<button type="submit" class="btn btn-default">seach id</button>

         	<br/>
         	<h1>
	         	<?php if (!empty($result)): ?>
					<?php echo $result; ?>
				<?php elseif (condition): ?>
					<?php echo "use OK"; ?>
				<?php else: ?>
					<?php echo ""; ?>
				<?php endif; ?>
			</h1>
      </fieldset>
    </form>
</div>



